﻿using Microsoft.EntityFrameworkCore;
using System.Data;

namespace Handday.Erp.Core
{
    /// <summary>
    /// dapper 仓储
    /// </summary>
    public class DapperRepository
    {
        public DapperRepository(DbContext context)
        {
            DbConnection = context.Database.GetDbConnection();
        }

        protected IDbConnection DbConnection { get; }
    }
}
